Refactored code to get rid of unused segments left over from lexconvert.py
JSLint compliancy
Author information at the top of the file.

These edits were done at well over 10,000 feet, flying across America.