Added generator to src/javascript/blockly_if.js