useful js patterns