Convert remaining JS features to Layouts.

Current spec status:
- Jasmine: 31 specs, 0 failures in 0.032s.
- RSpec: 270 examples, 0 failures in 3.54 seconds.