Javascript Style Guide from Google
It is always nice to have a style guide that is ready to use. If you click on the arrows you might find some valuable information.
http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml
Giving and Taking Advice
Everyone around us, parents, friends, co-workers, our boss etc. is always giving us advices.
In my experience, I have found that it can be difficult for people to understand the message if they are not open for it, no matter how good your intentions is.
One reason for this could be that people have something more important on their mind, something that worries them or there is lack of basic trust.
A positive emotional connection is a very important aspect. People should feel that they can trust you and that you have their interest at heart.
What ever you do, always give an advice with sincere compassion.