Arkanoid clone in javascript