Easy JSHint cleanup

Did a pass of all of our javascript with JSHint, and cleaned up missing semicolons and strict equality suggestions it pointed out.

I did not deal with any other issues, of which there were many, and I didn't touch any of the `tiny_mce` javascript because we didn't write it. 
This is good because `HTMLInputElement.value` is always a string.