Add point types to js