Jon express compile

string.sub arguments are 1-indexed