Update JavaScript guidelines