fixes and improments

1. combine js to common.js and fix bugs related to separate js files
2. fix word counter
3. price format
4. distance format