Revert "fucked up index.js,"

This reverts commit fe8361b565974a284d4c52bc181f6179534dc70e.