I'm starting to want to develop hybrid applications like Phonegap, Cordova or Intel-XDK. Hybrid applications run in a kind of browser. I was wondering is it possible to steal the codes made in hybrid applications. Everyone knows that anyone can see the source code of a website. So if I am going to use database connections it would be invalid to use hybrid applications. (Since it is possible for a person to steal information from the database or even delete data with this connection information).
I know that hybrid applications use JavaScript as the programming language. Is it possible to steal this information after it has been compiled? Some tool inspecting element maybe.