Testing out math in javascript.