apply correct context in method calls using the dot-methodname form
build js