Javascript game written with Kinetic.js library