Adding javascript to qutes slider