an attempt to implement the falldown game using javascript and the html5 console