I would prefer not extending the global audio context with this method.  It would be better to define a helper function somewhere that creates the context depending on what is supported.