A simple javascript game using the HTML5 canvas