Small javascript extension for plug.dj