Added Javascript hooks to body:after