Fix uglification error

Existing code causes an illegal postfix error (on the + ++a+), this pulls out the auto-increment to a separate expression.