Update mask.js

when base tag is used in html - masks don't work, because changes the way how masked elements search for their mask ids, to fix this we need to add full path to url() of mask