Reset most drag for pure javascript