added modernizr to check for availability of localStorage