taking out js debug statement