Separated profile.html's css.
Moved script tags at the end of body
Added missing body closing tag in profile.html
Formatted profile.html to be more readable