Firefox OS calculator with basic functionality and memory function