Create levpgs.js