fixed coding style in create js url parsing part