You could have a great lifestyle and a great business after a few years of work and growing a team of skilled JS performance experts.
Eventually you would probably stumble your way into a solid product once you had solved enough customer problems to see the commonalities (or through your internal tooling etc).