sMask

Vanilla JS Mask

Examples: