improvement generate.class.js add fbar