add JS file && index