cleaned up head-on.js with jshint
trying to make the NPC chase but not like an idiot