[js backend engine] added publish/subscribe/unsubscribe for js backend controllers;