I'm wondering why this functionallity is only available for mobile apps and not for web apps?

Calling actions in javascript would be awesome in web applications as well... (and not by creating a hidden button linked to an action, and clicking on this button with javascript...)

It's historical. But I believe we'll get there.