fixed some javascript handling, allow drop on empty colmuns