Finished drag and drop feature on loan revisions
Refactor on js files