Add ALLOW_EMPTY_CC syntax option and enabled for JavaScript

JavaScript allows empty character classes so add that as a
configurable option in joni.