attempt at using RequireJS