Preprocess JavaScript too

It's useful to disable location history in development for example
Merge branch 'master' into remotestorage-0.10.0-beta
Update remotestorage to 0.10.0-beta2