Browser Remote Interface to Database from Javascript