Turn curved arrow function into jQuery library