Handle pre-existing JS clauses properly in the try everything as JS case