organized files, fixed require issue with file order in browser