simplify JS code a lot
Merge branch 'master' of github.com:ajdlinux/govhack2014