update maintainable javascript