Added log button
Added a log page
making jshint compliant
making lint safe