Functioning JS with nonfunctioning browse function.