Re-thinking persian.js and some improvements

Better number conversion implemented
better code style and some little patch is applied.