Javascript client for publicator