check for complex inline scripts