nl_tokens: return true if all corresponding object properties match
pl_tokens: function templateMatches ( template , obj ) { for ( var key in <mask> ) { if ( template . hasOwnProperty ( key ) && obj [ key ] !== template [ key ] ) { return false ; } } return true ; }