Added JS file and linked to pages