add jquery frame,rewrite the js files of index.html