bit of code refactoring
Merge branch 'develop' of github.com:areski/python-nvd3 into develop