Small utility to help with creating requireJS main files