Had to get rid of some jshint errors.