unescape script code.Fixes #420
fix td split. Fixes #418