[javascript] How do I convert an integer to binary in JavaScript?