Javascript/canvas tower defence game