js updates, fixes