I've updated the docs, thanks for pointing this out.
Right on same page in chapter on remoting you yet have to replace more than one
... without the linefeeds, either forum formatting or me slipping with the mouse ...
Point is it needs that extra /resource/ in the paths to the scripts.
You're right, of course. I've updated all the paths in the docs, it should be correct now.