updated js and links