javascript + ruby