Organizing the javascript better and creating a project list partial.