I have to fill in javascript pop up window manually. But I want to write a program to fill in that javascript using data from my ruby/rails models. Is there anyway I can do