use simpler test for svg as img
remove Modernizr