Revert "Update populate.js"

This reverts commit 49454f294d9073e58a39f058549bbf8c89c2f685.