Add: minor improvements to the building files to handle compiling to javascript.
Fix: a minor bug cause by changes to DaoProcess_Eval().