[CDF-296] - Publish js was not called
Merge pull request #199 from pamval/master

[CDF-296] - Publish js was not called