made js faster