find <main>.js from file system

closes #2