Find the most common character from the string using javascript

 Return the most common character from the string