add manifest.appcache to NETWORK section on the cache to fix firefox bug
replacing alert function with jqm noteBar
checking inputs before saving/updating events