took the javascript out of the html and put it into leap_driver.js