The javascript code behind the Bouncer game at http://eclecticappdevelopment.co.uk/games/bouncer.html