Plot Numpy Image Array Javascript Append Text