javascript base 10 to base 2

JavaScript
parseInt(string, radix)
Source

Also in JavaScript: