Is there a javascript version of OC_Defaults?