Re-written for use with Require JS

Scripts load with RequireJS. Full RequireJS support, and Modernizr for
yepnope testing.