Just so you know, I usually see people use 'that' as a synonym for 'this' in js, self is somewhat unique to python.  I don't really care though.