replace raphael with threejs frontend