image annotater in JS