JS to get ajax forms implemented