minor change on javacript