update rest api doc / created js reference inside project