Adding js resource