added ajax registration with a small error handling
Merge branch 'master' of https://github.com/rexos/kokko