switch thumbnails to page2images
fix jshint and code clean up