Patch to select2.js and WhAceEditor.php

hello, two trivial fixes. worked for my project. glad to be of some help