append subdir to the js response
cleaning up
Merge pull request #347 from alextakitani/master

append subdir to the js response