adding legacy js files