variable renaming and adding comments; modernizr added