Aspose API JavaScript sample code.