Delphi Array Length Javascript Method Uppercase