some work on drag and drop styling / js

rework the detectors, WIP