More JS logging and testing