Add modernizr.js and various works on adding event.