js style fixes and resume_last_unit
Merge branch 'master' of github.com:hacklabr/timtec