Add import unit test to js framework.
Please jslint.