fix spinner show/hide bug, various jshint fixes
move styling to css
move styling to css