R2 model material load fix and remove model js from index