restful api exception handler, asset path in javascript, some object names.