update to newer versions and comment out not needed
fix jshints with old globals (which seems to be deprecated)