small js changes
small js changes