fixed #1, change the load directory to index.js file