Efficient Convolution Operators In Javascript