Adds a Check Numeric function to JavaScript

This commit adds a Check Numeric function to the clark-brad-project4.js
file.