adds missing mustache to if statement in user agent detection