[js] compiler: support 'this' keyword