add link to readme
clean up some javascript syntax