upgraded requirejs to 2.0
converted all configs to json