Convert Integer To Binary Javascript Code