Canvas javascript lib tests