final tweeks to js