Moved JS into a separate file. Added link to pages site.