Earthquake javascript written. Minimum magnitude input implemented.