Improve CSS and spinner, reindent js