html javascript ruby