updated rjs optimization examples