Update StatementFactory.js