Js is working but without a url