Updated based on suggestion from Hay, the creator of Stapes.js