Javascript FOAF helper objects and utilties.