got the javascript intro to work