update ruby and add javascript