js game library written in coffeescript