moved some js code from cz.htm to common.js
Bug22: Can't retrieve data from CZ
Merge pull request #37 from alex-zen/master

Refactored js code from cz.htm to common.js
Merge pull request #38 from javierluraschi/bug22simple

Bug22: Can't retrieve data from CZ