fix pom file, add more js logs