javascript optimization and documentation
clean ztemp
Merge branch 'master' into dev

* master:
  synchro
  documentation