messing with the JavaScript