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