Adding make file for publishing gh-pages
Adding indexdb check on init