A few years back I was in the same situation as the OP. I tried JS/HTML and there's no getting around it, the developer experience, the tools, the kludges you have to deal with are horrible. You can try to hide some of the suckiness with jquery and the like, but it's like sweeping dust under a carpet. It's still there, it's just that you have it isolated.
Flash was cool then so I moved to Flash, and though it has it's faults it's light years ahead of JS. Now things have changed so I wouldn't recommend going Flash anymore, but Haxe could alleviate the pain.
If you enjoy writing elegant code with a good IDE, stay away from the web unless you really need to. I decided to do web stuff anyway because of business reasons, but I do sometimes miss the Java work I used to do.