added custom Modernizr and rearranged js