removed useless debug lines
code style changes
replaced controls slide toggle animation with js animation
replaced Array.forEach with $.each, minor corrections