fixed function name for unescapeScript