A simple base number converter written in JavaScript.