Added option to include modernizr and fastclick. Cleaned up some code.