[imp] refactored formats.js
[imp] refactored formats.js

MarkusTeufelberger/openerp-web,gisce/openerp-web,MarkusTeufelberger/openerp-web,gisce/openerp-web,gisce/openerp-web,MarkusTeufelberger/openerp-web,splbio/openerp-web,splbio/openerp-web,splbio/openerp-web