object oriented javascript with RDFa integration