jshint friendly version + fix #3