Fix duplicate post issue
Update index.js
Merge pull request #6 from Pyrax/master

Fix duplicate post issue