JavaScript music theory library