how to add string to url in javascript