init.rb: code layout cleanup
view: move 'render "ratios/head_js"' from loop
lib: change instance variable to local variable
lib: code layout cleanup "retrive_data" method
lib: code layout cleanup "calc_indicators" method
view: remove unused :url from other_formats_links