Removed the Modernizr Dependency

Tested the specific changes but did not test the full library.