Remove console debugging from JS