Fix syntax error
Fix errors reported by jshint
Prototype to show / hide messages completed

TODO
Scroll position acts weird.