Remove redundant code from the link_helpers.js and view_helpers.rb files.
Merge pull request #3 from m-Peter/refactor-link-helpers

Remove redundant code from the link_helpers.js and view_helpers.rb files...