use rjs proper rather than amd-optimize (bug 1092718, 1078093)
Merge pull request #768 from ngokevin/rjs

use rjs proper rather than amd-optimize (bug 1092718, 1078093)