updates JS assets