Van Dyk peaks at perfect time to grab silver in javelin