Removed modernizr dependency, updated readme, and cleaned up code.