Implemented logging in all .js files :horse: