put reference to formatter.js above custom-smartform.js