Added check preview before filling the text
Added second parameter for post.setText which can force setting preview text
wstdays brought a good idea to use defineProperty had to refactor all
Remove jshint errors