implemented multi-threaded calculator

uses functions in System in a separate worker thread defined in
worker.js. added clone function to Util to remove jQuery dependency for
cloning objects.