going to switch to requirejs