The basic function is complete now. Next is hooking the js into something in the web page so it's not just running in the console...