making things work with requirejs