Add logging option
add modernizr