Update index.js

apos.static is not a thing anymore