use Utils.pad, change attachment fucntions to use better syntax, add in calendeer.js