added javascript page and partial for links