corrects noscript bugs