make js link relative