add support for palm and tip spatial data to JS interface