small updates to javascript files