add from method
move getAnnotation method to Annotation.from
move itemId method to Ids
use js template function to show and hide choice items
trim lines
trim lines