Postgresql Integer Size Javascript Code For Calculator