Update popBox1.3.0.js

adaptation for a personnal project