Minor JS syntax update
Legacy page typo