Controls:
Space = Select different box
W = jump when grounded
A = move left
D = move right

Elastic Collisions

Selected Box X Velocity =
Selected Box Y Velocity =

Editable Code = https://jsfiddle.net/93nvvgjr/41/