basic support for jp2 validation in webapp