Small javascript changes.