A Simple Browser game in Javascript