Simple JavaScript currency converter.