Only use dock.js for Moodle 2.7 and up