Update reg.js
Merge pull request #22 from jaguarxkr/patch-4

Update reg.js