A simple Javascript calculator made by several small modules