Fixed errors in JS path amd models.