Adjust jshint configuration
jshint fixes
Fix thumbnail test