Bitcoin mining is orders of magnitude more efficient on a GPU than on a CPU, and that's compared to the fastest C++ clients, not something running in a JavaScript interpreter. Maybe a popular installable game that's played for hours at a time and uses people's excess GPU to mine Bitcoin could be profitable. But this is just a waste of everyone's time.
It's around 30-40% slower than one of the optimized C CPU miners, and of course it's a a lot slower than a GPU miner, but it mines at a reasonable rate (and it starts up quickly)
As for effective monetization, this is something you can run in addition to regular ads if you wanted, since it doesn't take up any screen space.
Sorry if I'm being too hostile, but I like the idea of bitcoin, and don't want to see it become associated with hijacking people's computers.
As for the resource overhead of the JVM, it's infeasible to have a bitcoin miner that uses javascript - that was how I did it initially, as a proof of concept, but it was so slow I abandoned it.
The way I see it, websites with advertisements use your mind (by grabbing your attention). This only uses your computer. Which would you rather have a website try to take over?