Revert "change to require('./index.js') as per https://github.com/HabitRPG/habitrpg-shared/commit/002d4f9541ca531955be611f7c0fc2ba813f18ea"

This reverts commit 6ca82b24432334c9aec426f7b40142a95047b464.