bug fixes

1. Resolved the poor HTML formatting
2. Added jquery lib