Javascipt: Insert string into url