remove trailing whitespace
holy moly! rename (s/Javascript/JavaScript/)
remove unused imports
[BUG #8167] lint finds unknown global symbols again