Corrected the use of this in classless JavaScript.