Set proper dependencies otherwise requirejs will load randomly causing
unexpected failures.