Adding js refs