adding ruby example too
moved javascript codes into folder