add some test cases for code hint, jump to definition

modified file1.js for more code hint, jump to definition tests
modified unnittest.js: move 'use strict' at top instead of each function, caused line number changed, so modified existing tests for line number
added more test cases.