Rewriting POS module client-side