removed some js debug logging