Not really. C++ will be much faster than JavaScript. Your battery will last a lot longer on your laptop too.
For many tasks JavaScript might be fast enough but as your project grows and you want to fo more complicated tasks, you'll hit a wall with JavaScript.
Oh come on now, that's really exagerating.