Adds Javascript-backed height layout.