Is it possible to mask images in javascript to shapes and so on?