preparing jsreport embedded