Split javascript controllers into different files.