Fixed coding errors

Fixed some HTML/CSS/PHP/JQuery issues