Revised YASMF that supports requirejs and UI widgets for mobile