Update Primo.js

... continuation of #780