Fix "Uncaught Error: type property can't be changed" due to browser security model of Chrome, Firefox

Had the same bug: http://stackoverflow.com/questions/8378563/why-cant-i-change-the-type-of-an-input-element-to-submit
Looked at answer: change .attr to .prop
More on the topic: http://stackoverflow.com/questions/1544317/jquery-change-type-of-input-field

You might want to change it elsewhere :p