- updated code based on the three.js ctm loader in order to fix
issues in three.js R69 : closes #3