adjusting js