update some stuff to stop jshint errors