A simple pure javascript pull to refresh library