small js changes (cloud9 IDE test)