Refactor sample to use all variants

Use prefix variants for cross browser support.