added populating js file test