If you're wanting to do scripting in the browser, JavaScript is the best choice and the worst choice at the same time…because it's the only choice :D
The three pillars of the web platform are HTML, CSS, and JS, so when programmers who are used to other programming languages are forced to use JavaScript they get annoyed when it doesn't behave the way their preferred language works. Sometimes the design decisions of JavaScript itself seem a little confusing, and sometimes the way browsers implement support for JavaScript features can leave your head scratching.
Don't worry about people disliking JavaScript, it's easy to learn, a ton of fun, and it turns the browser into a playground full of new possibilities!