Extracted methods for getting JS directory and HTML page file path.
Fix method name
Merge pull request #26 from prudnikov/master

Extracting file path methods