Update SweetJS Generator to work with -X option