Added base code for Publications JS.