Added jquery, beginning function to handle json from ruby scripts