Started on js class for web gl experiment