Extends the Javascript standard library with useful methods.