if (clientID) {

}

Is fine here, no need to compare.
http://stackoverflow.com/questions/5515310/is-there-a-standard-function-to-check-for-null-undefined-or-blank-variables-in