Split out missed javascript from views of user module.