skulpt bug fix for using length as method in a user defined class