js scope test