Update Primo.js

... continuation of #780 (sorry this was easier for me than the rebasing thing)