Update reg.js
Merge pull request #23 from jaguarxkr/patch-5

Update reg.js