more doc for using in a browser and amd