ATE Prototype Stable

This PR makes the current implementation of ATE stable by making the following changes:

* Re-write Ruby 1.9.x exclusive code to be compatible with Ruby 1.8.7
* Add jquery.js library. This was being referenced but was not in the project.