Added support for running without a jQuery compatible library, i.e. only native ECMAScript.