fix safari, add jshint for clean code
Merge remote-tracking branch 'origin/master'