JavaScript version of arcanoid game based on html canvas