fixed content script bug in firefox 30