Tower Defense game written in javascript