Style changes; moved the jQuery get reqeusts to ruby