Added jquery map and added message in console log