Fix output js filename in batch buildscript