move refresh button prepare to make tabs
jslint on the index.js file