base for require js