Added PHP to JS api path