Hex String to Decimal String JavaScript

Var hex = '78';
var des = parseInt(hex,16)    //gives 120 according to ascii table
SHAM3R