Utilities for Javascript plug

Anybody who imports itemgetter is alright in my book.