Add checks for js.Any class structure in frontend-phase