Moves the contentState Javascript outside of the wp.isPreviewable if check since all should be able to use the contentState servlet.