Updated imgcollect and jslib