Move primary-link js to frontend_toolkit

The JavaScript now lives in the frontend_toolkit so that it can be
shared with the publisher.