reworded the js and useragent documentation