worked out jQuery for forms