Collision and character control test using Javascript, jQuery, and HTML/CSS