Minor javascript changes.