Removed console debugging from JS.