added commments to controllers
filename as first comment
added filename to top of file
cleaning up javascript and adding comments
change href to replace