[FIXED JENKINS-21524]

As opposed to the fix proposed in pull request #31,
I think the proper fix is to use loadTearOff, so that
the scripts being compiled has the right visibility.