BAI: working requirejs prototype