[BUGFIX] Make JS url encoding utf aware