used pagedown-rails instead of strait JS files