shifting between all js or js/ruby