missing integer support in js