moved uri to browser. closes troopjs/troopjs-utils#5
rename constants