sof_object() javascript function, now official.