refactor statement handling callback (and introduce handleStatements)
refactor statement handling callback (and introduce handleStatements)

jsx/JSX,dj31416/JSX,jsx/JSX,dj31416/JSX,jsx/JSX,jsx/JSX,dj31416/JSX,dj31416/JSX,dj31416/JSX,jsx/JSX