javascript fixes
added ratings system