fixed build warnings

fixed build warnings
modified js so terminals are draggable