created external js fie for rock paper scissors game