I'm trying to understand the calculation of spherical Bessel functions in chapter four of Griffiths' Introduction to Quantum Mechanics (2nd ed, p142). He gives $$j_{2}\left(x\right)=\left(-x\right)^{2}\left(\frac{1}{x}\frac{d}{dx}\right)^{2}\frac{\sin x}{x}=x^{2}\left(\frac{1}{x}\frac{d}{dx}\right)\frac{x\cos x-\sin x}{x^{3}}$$
$$=\frac{3\sin x-3x\cos x-x^{2}\sin x}{x^{3}}.$$
I can't see how he arrives at this answer. I think my problem is the $\left(\frac{1}{x}\frac{d}{dx}\right)^{2}$ bit (the general term for $j_{l}\left(x\right)$ is $\left(\frac{1}{x}\frac{d}{dx}\right)^{l}$ ). I'm assuming this means $1/x^{2}$ multiplied by the second derivative of $\frac{\sin x}{x}$ but I make that $$\left(\frac{1}{x^{2}}\right)\left(-\frac{\sin x}{x}+\frac{2\sin x}{x^{3}}-\frac{2\cos x}{x^{2}}\right).$$
Any idea what I'm doing wrong?