JS amends to update to smoother animations
Commit rest of JS