Modernizr checks and polyfills

Added modernizr checks and polyfills
Added colorpicker functionality