Clean javascript_tag in region#index, fix magic numbers