can we get the user profile details in web part using JSOM

I am looking for a profile web part to show this info

* user profile image
* user email
* user job title
* user extension

any help would be appreciated

thanks