Added Number Function to JavaScript.