optimize storytell and schema's scripts for AMD (RequireJS)