Update JS for application