my stab at making a js/html5 game