do not use global js vars