CRAFTER-459: Fixes lost reference to script (bug in IE10)

In IE10, browser doesn't work after loading preview from form
Merge pull request #124 from quiaro/2.2.x

CRAFTER-459: Fixes lost reference to script (bug in IE10)
Merge remote-tracking branch 'origin/CRAFTERCMS-547' into 2.2.x
CRAFTERCMS-392
Added share web script to validate ticket.
Merge remote-tracking branch 'dejan/CRAFTERCMS-392' into 2.3.x