Removed a debug message
Core: Cleanups in JS