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

In IE10, browser doesn't work after loading preview from form