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