Fix require() to work with index.js

Having require( 'directoryname' ) automatically load 'directoryname/index.js' is a very handy shortcut, but it doesn't actually work due to what looks like a typo..

Fortunately it's an easy fix!

Also, thanks for ScriptCraft, we're going to be doing some VERY cool stuff with it.  ;)