dispatch and js removed