Replaced console.log() with formatted strings for readability.

For better readability I replaced the concatenated strings with formatted ones.