Add different techniques of javascript