Javascript cleanup - GLB - 2/6