count code points in javascript