add js setting