added minifying protection to scripts