comparision with js 'with'