fix some bugs on client side rendering of angularjs. Make the analyze functionality compatible with wordslist having * at the end of some words (indicates match any number of characters). Some more testing is still required