JavaScript toolkit for music interfaces in mobile apps and web browsers