Add convenience prototypes if loaded in a browser