refs #151, JavaScript toggle