Adds Ajax and Refactoring

* To test:
  * confirm link is generated
  * original and condensed link is rendered via AJAX

![condensoar 2014-11-07 23-17-40](https://cloud.githubusercontent.com/assets/6493672/4963184/32c97278-66fe-11e4-8afc-5a2a8d7e971c.png)