improved flexibility
fixing bundle order
amd-plugin rewrite require instead of calling writer, removing js ext for js files