published js and shell function post