fixing requirejs related issues