Refactored jquery.ghostdown.js as widget plugin