Moodle 2.6+ filter that implements easychem.js