Remove modernizr, inline single use functions