Remove console.log. Use jQuery.
Merge pull request #1 from borkweb/5232-flag-button-disable

Remove console.log. Use jQuery.