html page JavaScript that convert universal magnet to normal or mix magnets.