Wraps javascript in jQuery. Makes a few changes and loads animation from window load.