Optimize asset build

This decreases the size of remotestorage.min.js by about ~100k / 30%.

I hope it doesn't break anything, please test @jancborchardt @xMartin