javascript extends,jquery plugin and so on.