Using consts for charcodes
using strict, reformatted code