Update JavaScript app template