Minimalist AMD RequireJS implementation