add jquery functionality