total rewrite settings
update javascript
rewrite settings addition