change default public files to javascript