Fix for bug causing "requirejs not found"