Adapting jclic module to Moodle 2.6