some shortcut and js lib base on the egghead.op tricks