(Issue2981) Use data-requiremodule to synchronize 'require' calls of inline script
Merge branch 'issue-2981' of git://github.com/mrvisser/3akai-ux into issue-2981