#LIB-194 Modified Javascript API to include name