added js-spec to ensure dom structure of main layout