return new JsStatement().$(contents).chain(effect).render(true).toString()+script+ ";";
}
@Override
public CharSequence decorateScript(final CharSequence script) {
FadeOut effect = new FadeOut(EffectSpeed.SLOW);
effect.setCallback(new JsScope(){
private static final long serialVersionUID = 1L;
@Override
protected void execute(JsScopeContext scopeContext) {
scopeContext.append(script);