You have a form, you enter data, the data is somehow aggregated and presented to you in some other form or the data is sent off to some other service that then processes the data in some other way.
Removing a layer between the JS frontend and the DB just simplifies the whole stack: if postgres can do something like
(select * from employees).to_json
and send it to the JS frontend that's already half of the app. The other half would be var record = {"empId": 2, "empName": "Franz"}
insert into employees (emp_id, emp_name) values (record.empId, record.empName);
No java, .NET, ruby or python required. Plus it makes the sysOps happy: they have less stuff to handle.