Refactor the code
Add unit tests for 'deps.js'
Merge pull request #36 from enb-bem/unit-tests-for-deps

Unit tests for deps