UK Income Tax Calculator in JavaScript