updates app js