add new js resource