Run tags-json javascript file in ruby
Refactor