removed prints from JPS and added test into Main
added jps to build and fixed minor cs anonfunc invoke