a better attemt at requirejs