Added setUp for index_spec.js tests.