fixed build warnings
modified js so terms are draggable