Fixed bugs in runserver.js. Updated version.