A simple Hodgkin–Huxley model implemented in JavaScript. Includes modelling of sodium and potassium channels, as well as leakage current and membrane capacitance. For more information on this model, see http://en.wikipedia.org/wiki/Hodgkin%E2%80%93Huxley_model