Removed debug logging from JS