adjust compiled source to viewer.html