Re #1055 - Trying to get javascript & layout working together with Andy