Set default debug mode to false
Add "grunt run" task
Added jsdoc for subscribe()
Added publishSync function.