Added procedure to JavasScript.
Added Boolean Function to my Javascript file.