added jquery to phantom tests
fixed signals handler