Fix crosssite scripting issue.

Signed-off-by: TomWu <phperwuhan@gmail.com>