Got rid of nasty set timeout as requirejs should take care of any timing issues like this (or else why are we using it???)