specs: link phantomjs node with files generated \w borschik

fix for "Mocha init timeout"
refactoring
Merge branch 'fix-phantomjs-node'