adding a browser version for debug mode