move where we set blockly loop trap

Saw some instances of "TypeError: Cannot set property 'INFINITE_LOOP_TRAP' of undefined" popping up in new relic.  I think I was setting Blockly.JavaScript.INFINITE_LOOP_TRAP at a point where Blockly was not yet guaranteed to be set yet.  I moved it to afterInject and verified that things still work as they should.