cleaned up the code. seperated the index partials for rails, javascript, css and apps pages.