Fixed undefined error when loading the libraries.

Loading the minified and normal versions of this file was throwing an undefined error on the 'ready' event.