Removed debug statement from JS