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 jquery javascript because (obviously) we didn't write it.
Upon further review, this should use `parseFloat(box.value)`, not `parseInt`.