updating resource lib; updating js.