Bug fix in JS & curl post build step