server for testing js api