Reorganized some javascript stuff and added jquery to the js abstraction
framework.