refactored to use server-side jsx transformer