updates to some JS