Corrected EAN management to accept 12 or 13 numbers from web