Making the url also an argument to the JS.