Fixes Chooser button not displaying in Moodle 2.5 (2013051400.05)
Preserve BC with Moodle < 2.5