A JavaScript music theory library