html and javascript format fixes

+ correct class name added to the first two DIVs
+ Semicolons in javascript...