added javascript specs to ensure header view dom structure