Only append api file when jsPath not specified

This fixes the problem of a double appended file name e.g.
http://foo.bar/FileAPI.jsFileAPI.js
Merge pull request #24 from spedmg/fix-double-file-api-append

Only append api file when jsPath not specified