fixed some javascript syntax errors, not the page won't load at all...
most of the code is done but I'm get an access-control-allow-origin error