Changed UI to no longer depend on JS for positioning.

WIP