change main file (to make it runnable with js servers)