fixed IE bug in javascript related to preventDefault; enhanced form() method to handle 'Yes' response values if they happen to slip through