added jps.chi()
dump function added, function for key modifier check, indentation changed