fix asset's pdf export failure

There was an extraneous line at end of the autoloader code that prevent
assets to be exported into PDF.
remove useless php end tag