A simple javascript painting app