Added some useful JS procs to DOM module.
Added some useful JS procs to DOM module.

jfhg/Nim,mbaulch/Nim,mbaulch/Nim,dom96/Nim,haiodo/Nim,tulayang/Nim,mbaulch/Nim,jfhg/Nim,tulayang/Nim,zachaysan/Nim,jfhg/Nim,mbaulch/Nim,russpowers/Nim,russpowers/Nim,russpowers/Nim,russpowers/Nim,dom96/Nim,singularperturbation/Nim,mbaulch/Nim,jfhg/Nim,singularperturbation/Nim,dom96/Nim,russpowers/Nim,singularperturbation/Nim,haiodo/Nim,singularperturbation/Nim,zachaysan/Nim,jfhg/Nim,haiodo/Nim,zachaysan/Nim,russpowers/Nim,dom96/Nim,haiodo/Nim,jfhg/Nim,mbaulch/Nim,tulayang/Nim,singularperturbation/Nim,mbaulch/Nim,singularperturbation/Nim,tulayang/Nim,dom96/Nim,russpowers/Nim,tulayang/Nim,tulayang/Nim,zachaysan/Nim,haiodo/Nim,zachaysan/Nim,dom96/Nim,haiodo/Nim,singularperturbation/Nim,zachaysan/Nim,dom96/Nim,zachaysan/Nim,haiodo/Nim,jfhg/Nim