Golang Check Integer In Javascript How To Make Theoretical Framework