Removed debug messages from JS