format javascript
removed deprecated
added node server
added sample app
adding libs folder to samples
update templateCache
fixed publisher callback