trying to create paint-like graphic editor with canvas js