button fix

js now starts on button click