html5/javascript fighting game in progress