pullout getJSPath
Merge pull request #208 from knownasilya/jspath

Refactor getJSPath()