refactor JS, fix CSS
Merge pull request #7 from jaake/frontend

refactor JS, fix CSS