private_pub.js subscription callback and unsubcribe function.

Hi, 

I worked on solving issues #45, #37.