Added hack for RequireJS and Bower support