Javacript Client for JasperServer Rest Api