Fix crosssite script error in Chrome plugin