A basic extension for select an area on image or other elements.
You can download from github and immport your project with scripts tag.
In html:
<img id="image" src="your_image.jpg">
In jQuery
$(document).ready(function() { $("#image").areaSelectable(); })
You can see full documentation here.