How can we integrate our web app with OwnCloud directly using JavaScript?
you can use js client.
Also, you can find static web app example in this gist. I hope it helps.
Thanks for the help