add rearrange js