requirejs friendly attempt