Fix javascript echourl query