[#31576] GSoC 2013: Removing MooTools dependencies from caption.js.  Fix #1460