Change to JSONP to support web browser interaction and also switch database connection to be persistent