Canvas select rectangle

Select rectangle on canvas element.
Requires html with canvas elem including id 'canvas' + jquery librabry