Modernizr friendly.

Made the edit a long time before I made a fork, so I don't recall what the issue was exactly just remember it was interfering with using Modernizr.