Removed duplicate function
Added js number validator to some input fields
Added option to enforce SSL with fM