JavaScript dead lifts