Renamed Length() and Identity() methods because they are reserved keywords in JavaScript.
JS-TA