javascript color dodge with canvas