Update jsdoc publish.js script

See https://github.com/openlayers/ol3/commit/2f5a92c2c93c209bc7b2dd1a2826b9cb0919c996