removing unnecessary constructor lines, and adding modernizr