Check if js-compiled file exists before changing directory
Merge pull request #5 from mtisi/master

JS-compile Check