update formsync.js

Added alert if no action is set.