Update singularity.js