Fixed mark all complete bug

also clean up jshint and comments structure