fix bug about noscript wrongly detected in some cases