some questions about javascript