fixing js error
remove debug statement