(fix) restore jsFilter in gulp script task

Restore the jsFilter after copying the files due to reported
issues of causing problems when running --stage prod. Also, exclude
index.html from being put into the templateCache.