better usage of requirejs