working towards requirejs