updates to js library