Use require.js as file loader. Separate the code.