Some changes to cepfacil.js

I've made some changes to cepfacil.js. I think it has changed a lot since the initial commit and I don't know if you would like this approach.
I think what matter most is that it is working properly now.
Let me know if have something I can do to improve it.