both js files work