Remove unneeded logging from JavaScript files