switch to correct js file closes #805