Attempting to wrap the directive around a jQuery slider