Decimal To Binary

Found this code on javascriptkit.com