Change regex to use id[0] instead of id[2]
Create package.js