Some layout fixes.
Fix some javascript loading errors.