fixed error with mycustom.js