javascript objects you can use in ruby