Added demo to handling keys with javascript post