removed sprintf-js dependency