upgrade requirejs to 2.1.10
use r.js to optimize js in package