Reduce js library number used

Please refer to the branch in this comment of the parent ticket.

All RS js libs were simply moved to metrics-web. These should be sorted out and reduced, where possible.