[Added] javascript URL builder and associated test