Fix width calculations.
Add MontageJS example.