Refactor javascript file
Remove extra whitespace
Remove implied script type and CDATA tags
Merge pull request #163 from VSEphpbb/updates

Minor updates and fixes