Refactor modernizr

@aduggin @jonwyatt-mas 
`script srr` ?