Added functionality for prismic js helper.