makes some changes to generator to support what canjs needs