Added modernizr support to resource loader