Better binding

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>
AJAX doesn't need a before

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>