Fixed #9 (broken dependency sorting)

- Added javascript-topological-sorting
- Fixed bug when requiring modules that have dots in the file name