add text count perl script
change the code style for listings in html/javascript/css and write more in angularjs implementation