Fix js/expand.js

Fixed missing end tags and changed .text to .html since .text strips HTML
Merge pull request #166 from joosera/master

Fix js/expand.js