Add tricks in js