add js files, update header file