removed unecessary logging statements from js