pass in the url as a param to js script