changed filenames, added main.js