Added new feature and fixed some problem when enable debug mode Special thanks to https://github.com/kanmanus/mourn.js for the awesome jQuery library