We don't document html and javascript in general. Here is a list of reserved words in html and javascript:
http://www.w3schools.com/js/js_reserved.asp
you should avoid all of these in IDs and variable names. You can see that submit is on the list. This isn't just true for our extensions it is for building web pages in general.