further tweaking js