Remove useless functions, change jshint to only warn but not fail the build