Update reg.js
Merge pull request #25 from jaguarxkr/patch-7

Update reg.js