FF doesn't like hoisting in a block.

For ref, see
http://statichtml.com/2011/spidermonkey-function-hoisting.html
Merge branch 'dev' of github.com:intermine/intermine into dev