fix output .js to show url method