Fix for Mozilla Firefox infinite recursion bug

If the script is loaded twice in Firefox, then axisLabels will be
registered twice in the plugins array, which eventually causes an
infinite recursion, since the trick with the secondPass flag fails in
these circumstances.