properly escaped embedded ruby
reordered js file load order
sorted commits by date