added new function -setPassword- (globs.js)