fix jshint warnings, remove dead pinnedWindows code, fix js code issue with @ing in empty room resulting in @undefined, feature detection for window.console
Merge pull request #961 from JabbR/clean-up-js

Clean up Javascript