seminar:javascripts patterns and anti patterns