#516: Bash, define 'minifying' logic for javascript