Use of higher order functions are now explicit.
Fixed GHC warnings.
Adjusted code to the new interface of setInterval and setTimeout.
Removed redundant imports from Chan.
Removed redundant imports from MVar.
Cleaned up the map interface names.
Removed redundante imports and commented out unused 'compilerLog'.
Renamed lookup in JSMap to lookup' to avoid name collisions.
Cleaned up Map module and added/corrected comments.