change method for establishing JS distribution url root. Closes #460. Thanks @brunobg