JInput code changes