Minor refactoring to WebGL image replay func
Merge pull request #31 from elemoine/webgl-point-refactoring

[webgl-point] Minor refactoring to WebGL image replay func