fix(index): forgot to properly handle index.js special case