Ball movement using arrow keys in a browser (using jQuery)