took out some unused javascript