sidebar task

sidebar task
Agree. Putting js in erb is one sure way to write obfuscated code. Also, minor nitpicks:

- Please line up your closing braces.
- Decide whether you want to use spaces or tabs. Don't mix.
- Decide whether you want braces on the next line or go for K and R braces style. Don't mix.

There's no style guide for coursemology, just be consistent. If not @raymondtangsc, will have a hard time reviewing your code. Thanks.