Game of arkanoid in javascript