RequireJS and base structure