started to experiment with OmniFaces resource management and JS API for ngsync (work in progress)