Fix jshint warnings in movies/htmlexport.js

- Add missing ;
- Use === and !== comparators
- Use single quotes
- Declare variables before they're used