requirejs used as a module, cleaned up unused files