updated JS and Ruby Directories

Including sample files