Minor modification.
Fixed js styles. Added comments.