URLBuilder now trims the constant as well as dynamically generated trust root
Make javascript example allow the library to determine trust_root itself