fixed several css fixes, added comments to js