Added options for xml to js transformation.