js file and links