Updated JS and CSS.

Removes jerk completely when adding or removing border.