That won't work in jQuery because jQuery in real isn't pulling the data from your database server instead it is your server-side language which is pulling the records and then passing to that
autocomplete as a result. Rather than looking for jQuery solution, make changes on your server side, change your SQL query from
SELECT * FROM...
to
SELECT TOP 5 * FROM...
This would make sure that only top 5 records are selected from your database. jQuery has nothing to do with this logic. jQuery would just send an asynchronous request and pull the response. That's it. The actual logic would be implemented there.
A personal tip would be to send a variable to server to pull data. For example, try appending a query string as,
getbusiness?records=5
. Use the value for records and get the number of records.
Never hard-code your source code, it would make it hard to upgrade it later instead make a few cases which can be easily edited as per your recent and future needs.