add script for js count