GET-71: extend snapping choices in javascript api
GET-67: another implemention method for showing context menu: depend on position of the mouse