Fixed errors in scarffolding RequireJS