Added Toggle in-line Javascript

new toggle Javascript meant to be inline