vgl requires uglifyjs

@jbeezley please review this branch.