check for complex inline scripts

close #222