implemented Mask for JS, fixed TextField bounds for JS