Initial version
Moved logic into js/arcGuage.js