first js compiled script written in ruby