Add default value to sub function in hast.coffee