Build javascript mvc file structure